package dht;

import dht.entity.Message;
import dht.entity.NodeInfo;
import dht.socket.SocketHandler;
import dht.throwable.DhtException;

public interface ITransactionProcessor {

	public void handleInitiativeTransaction(NodeInfo nodeInfo, Message msg,
			boolean isSync) throws DhtException;

	public void handlePassiveTransaction(SocketHandler socketHandler,
			boolean isSync) throws DhtException;

}
